home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL1002.txt
- // Copyright 1996 SPI
- // -----
-
-
- //Generic PromptForString
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
- #define kDialogWidth 350
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- #ifndef PROMPT_FOR_NUMBER
- #define PROMPT_FOR_NUMBER 0
- #endif
-
- #ifndef BULLET_TEXT
- #define BULLET_TEXT 0
- #endif
-
- #if BULLET_TEXT
- #define Edit_Params Width = UseParent ,BackColor = White, DisplayAsBullets
- #else
- #define Edit_Params Width = UseParent ,BackColor = White
- #endif
-
- Margin(10,10,10,10, BackColor = Dialog, Width = kDialogWidth)
- VList(Width = UseParent)
- {
- StaticText(prompt, Width = UseParent);
-
- Spacer(Height = 6, Width = 0, ScaleV);
-
- #if PROMPT_FOR_NUMBER
- EditText(result, Signed(32), Width = UseParent, BackColor = White );
- #else
- EditText(result, Edit_Params);
- #endif
-
- Spacer(Height = 10, Width = 0, ScaleV);
-
-
- StandardDialogButtonsH;
- } //VList
-